//
//  SNPlayerView.h
//  AVPlayerDemo
//
//  Created by sam on 16/3/24.
//  Copyright © 2016年 yiban. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface SNPlayerView : UIView
/**
 *  播放的url
 */
@property (nonatomic, strong) NSURL *playUrl;

@property (nonatomic, assign, readonly)  NSTimeInterval totalTime; //总时长
@property (nonatomic, assign, readonly)  NSTimeInterval bufferTime;//缓存的进度
@property (nonatomic, assign, readonly)  NSTimeInterval currentTime;//当前的播放时间
@property (nonatomic, assign)  NSTimeInterval jumpToTime;//跳转的到的时间

@property (nonatomic, assign)  CGFloat volume;//音量
@property (nonatomic, assign)  CGFloat brightness;//亮度


- (void)play;
- (void)pause;
- (void)reset;
@end
